package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 条件存储实体表
 */

@Data
@Accessors(chain = true)
@TableName("iot_condition_storage")
public class ConditionStorageEntity {
    @TableId(type= IdType.AUTO)
    private Long id;
    private String imei;
    @TableField("rule_id")
    private Integer ruleId;
    @TableField("rule_name")
    private String ruleName;
    @TableField("rule_type")
    private Integer ruleType;
    @TableField("monitor_id")
    private Integer monitorId;
    private Integer oper;
    @TableField("target_type")
    private Integer targetType;
    @TableField("target_value")
    private String targetValue;
    @TableField("target_var_id")
    private Integer targetVarId;
    private Integer cycle;
    @TableField("var_id_list")
    private String varIdList;
}
